<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>云尚奥莱</title>
    <link rel="stylesheet" href="../themes/mall/default/styles/share/css/hui.css">
    <link rel="stylesheet" href="../themes/mall/default/styles/share/css/style.css">
    <script src="/mobile/themes/mall/default/styles/share/js/com.js"></script>
    <script src="/mobile/themes/mall/default/styles/share/js/hui.js"></script>
    <script src="/mobile/themes/mall/default/styles/share/js/template-web.js"></script>
    <style>
        ::-webkit-input-placeholder { /* WebKit browsers */
            color: #999;
            font-size: 16px;
        }

        ::-moz-placeholder { /* Mozilla Firefox 19+ */
            color: #999;
            font-size: 16px;
        }

        :-ms-input-placeholder { /* Internet Explorer 10+ */
            color: #999;
            font-size: 16px;
        }
    </style>
</head>
<body>

</body>
<script>
    window.onload = function () {
        test()
    };
    function test(){
        var u = navigator.userAgent;
        var ua = u.toLowerCase();
        if (/iphone|ipad|ipod/.test(ua)) {  // iOS 系统 ->  跳AppStore下载地址
            //alert("iOS");
            window.location.href = 'https://apps.apple.com/cn/app/%E4%BA%91%E5%B0%9A%E5%A5%A5%E8%8E%B1/id1465194574';
        } else if ( /android/.test(ua)) { // 安卓系统 -> 跳安卓端下载地址
            // header('Content-Type: application/octet-stream');
            // header('Content-Disposition: attachment; filename="/download.zip"');
            // header('Content-Transfer-Encoding: binary');
            // // load the file to send:
            // readfile('ysal-release.apk');
            window.location.href = 'https://a.app.qq.com/o/simple.jsp?pkgname=com.yunshang.ecmall';
            //alert("android");
        } else if (IsPC()){ // PC端

        }
    }
</script>
</html>